package com.blog4j.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog4j.article.entity.ApplyArticleEntity;
import com.blog4j.article.vo.req.ApplyArticleListReqVo;
import com.blog4j.article.vo.req.ApproveArticleReqVo;
import com.blog4j.article.vo.resp.ApplyArticleRespVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/7/23 22:25
 **/
public interface ApplyArticleService extends IService<ApplyArticleEntity> {
    /**
     * 分页加条件查询申请文章信息列表
     *
     * @param reqVo 请求
     * @return 文章信息列表
     */
    PageInfo<ApplyArticleRespVo> applyArticleList(ApplyArticleListReqVo reqVo);

    /**
     * 审批文章
     *
     * @param reqVo 审批信息
     */
    void approve(ApproveArticleReqVo reqVo);
}
